<!DOCTYPE html>
<html lang="zh-CN">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="icon" href="">

    <title>${author.userName}的博客</title>

    <!-- Bootstrap core CSS -->
    <link href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">

    <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
    <link href="${basePath}/assets/css/ie10-viewport-bug-workaround.css" rel="stylesheet">

    <!-- Custom styles for this template -->
    <link href="${basePath}/assets/css/blog.css" rel="stylesheet">
	<link href="${basePath}/assets/css/bloglist.css" rel="stylesheet">

    <!-- Just for debugging purposes. Don't actually copy these 2 lines! -->
    <!--[if lt IE 9]><script src="${basePath}/assets/js/ie8-responsive-file-warning.js"></script><![endif]-->
    <script src="${basePath}/assets/js/ie-emulation-modes-warning.js"></script>

    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
      <script src="https://cdn.bootcss.com/html5shiv/3.7.3/html5shiv.min.js"></script>
      <script src="https://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
  </head>

  <body>

    <div class="blog-masthead">
      <div class="container">
        <nav class="blog-nav">
          <a class="blog-nav-item active" href="#">Home</a>
          <a class="blog-nav-item" href="#">About</a>
        </nav>
      </div>
    </div>

    <div class="container">

      <div class="blog-header">
        <h1 class="blog-title">${author.userName}的博客</h1>
        <p class="lead blog-description">dushen.com</p>
      </div>

      <div class="row">

        <div class="col-sm-8">
          <#if blogs?exists && blogs?size gt 0 >
			<#list blogs as v>
			 <div class="blog_main">
			  <div class="blog_title">
				<h3><a href="${basePath}/v/blog/${v.id}">${v.blogHead}</a></h3>
				<ul class="blog_categories"><strong">博客分类：</strong> <li><a href="/category/377380">文件存储</a></li><li><a href="/category/377381">java</a></li><li><a href="/category/377383">常用技术</a></li> </ul>
				<div class="news_tag"><a href="http://www.iteye.com/blogs/tag/%E4%BA%91%E5%AD%98%E5%82%A8">云存储</a><a href="http://www.iteye.com/blogs/tag/%E4%B8%83%E7%89%9B">七牛</a><a href="http://www.iteye.com/blogs/tag/%E6%96%87%E4%BB%B6%E5%AD%98%E5%82%A8">文件存储</a><a href="http://www.iteye.com/blogs/tag/java%E6%96%87%E4%BB%B6%E4%B8%8A%E4%BC%A0">java文件上传</a><a href="http://www.iteye.com/blogs/tag/qiniu%20SDK">qiniu SDK</a></div>
			  </div>
			  <div class="blog_content">
				${v.blogBody}
			  </div>
			  <div class="blog_bottom">
				<ul>
				  <li class="date">${v.createTime?string('yyyy-MM-dd hh:mm')}</li>
				  <li>浏览 186</li>
				  <li><a href="#">评论(${v.remark})</a></li>
				  
				  <li><a href="/admin/link?user_favorite%5Btitle%5D=%E4%BB%8E%E9%9B%B6%E5%BC%80%E5%A7%8B%EF%BC%8C%E5%9C%A8java%E4%B8%AD%E4%BD%BF%E7%94%A8%E4%B8%83%E7%89%9B%E4%BA%91%E5%AE%9E%E7%8E%B0%E6%96%87%E4%BB%B6%E4%BA%91%E5%AD%98%E5%82%A8%EF%BC%88%E4%BA%8C%EF%BC%89&amp;user_favorite%5Burl%5D=http%3A%2F%2Fdushen.iteye.com%2Fblog%2F2406247" target="_blank" class="favorite" onclick="$$('.favorite_form_spinner')[0].show();new Ajax.Request('/admin/link/new_xhr?user_favorite%5Btitle%5D=%E4%BB%8E%E9%9B%B6%E5%BC%80%E5%A7%8B%EF%BC%8C%E5%9C%A8java%E4%B8%AD%E4%BD%BF%E7%94%A8%E4%B8%83%E7%89%9B%E4%BA%91%E5%AE%9E%E7%8E%B0%E6%96%87%E4%BB%B6%E4%BA%91%E5%AD%98%E5%82%A8%EF%BC%88%E4%BA%8C%EF%BC%89&amp;user_favorite%5Burl%5D=http%3A%2F%2Fdushen.iteye.com%2Fblog%2F2406247', {method: 'get', onSuccess: function(response){$(document.getElementsByTagName('body')[0]).insert({bottom:response.responseText});$$('.favorite_form_spinner')[0].hide();}});return false;">收藏</a><img alt="Spinner" class="favorite_form_spinner" src="http://www.iteye.com/images/spinner.gif?1448702469" style="vertical-align:bottom;margin-left:7px;display:none;"></li>
				  <li class="last">分类:<a href="http://www.iteye.com/blogs/category/internet">互联网</a></li>    </ul>
			  </div>
			 </div>
			</#list>
			<nav aria-label="...">
			  <ul class="pagination">
				<li class="disabled"><a href="#" aria-label="Previous"><span aria-hidden="true">&laquo;</span></a></li>
				<li class="active"><a href="#">1 <span class="sr-only">(current)</span></a></li>
				<li><a href="#">2</a></li>
				<li><a href="#">3</a></li>
				<li><a href="#">4</a></li>
				<li><a href="#">5</a></li>
				<li><a href="#" aria-label="Next"><span aria-hidden="true">&raquo;</span></a></li>
			 </ul>
			</nav>
		  </#if>
        </div><!-- /.blog-main -->

        <div class="col-sm-3 col-sm-offset-1 blog-sidebar">
          <div class="sidebar-module sidebar-module-inset">
            <img style="text-align: center;width: 120px !important;border: 0;line-height: 1.5;" src="${author.avatar}"/>
            <p style="text-align: center;">${author.userName}</p>
            <p style="text-align: center;">${author.description}</p>
          </div>
          <div class="sidebar-module">
            <h4>分类</h4>
            <ol class="list-unstyled">
		        <#list blogClassifys as v>
		          <li><a href="#">${v.typName}</a></li>
		        </#list>
            </ol>
          </div>          
          <div class="sidebar-module">
            <h4>归档</h4>
            <ol class="list-unstyled">
		        <#list monthGroup as v>
		          <li><a href="#">${v.name}(${v.n})</a></li>
		        </#list>
            </ol>
          </div>

        </div><!-- /.blog-sidebar -->

      </div><!-- /.row -->

    </div><!-- /.container -->

    <footer class="blog-footer">
      <p>981040863@qq.com By 杜神 </p>
      <p>
        <a href="#">Back to top</a>
      </p>
    </footer>


    <!-- Bootstrap core JavaScript
    ================================================== -->
    <!-- Placed at the end of the document so the pages load faster -->
    <script src="https://cdn.bootcss.com/jquery/1.12.4/jquery.min.js"></script>
    <script>window.jQuery || document.write('<script src="assets/js/vendor/jquery.min.js"><\/script>')</script>
    <script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
    <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
    <script src="${basePath}/assets/js/ie10-viewport-bug-workaround.js"></script>
  </body>
</html>